package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 开盒记录表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BoxRecords对象", description="开盒记录表")
public class BoxRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "开出的sku id")
    private Integer skuId;

    @ApiModelProperty(value = "点击的第几个小盒")
    private Integer skuIndex;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "盲盒id")
    private Integer nodeId;

    @ApiModelProperty(value = "房间id")
    private Integer roomId;

    @ApiModelProperty(value = "用户信息")
    private String user;

    @ApiModelProperty(value = "盒子")
    private String sku;

    @ApiModelProperty(value = "物品等级")
    private Integer level;

    @ApiModelProperty(value = "物品数量")
    private Integer total;

    @ApiModelProperty(value = "开盒序号")
    private Integer openIndex;


}
